When you die, as long as your body remains, you can be healed by any spell or effect that heals damage, though you regain only half the normal number of hit points. If you're healed to full hit points, you come back to life and gain 1 permanent negative level for each minute you were dead (these negative levels can be removed as normal). Until you're healed to full hit points, you don't regain consciousness and are still dead no matter what other abilities you might have. If you aren't brought back to life within a number of minutes equal to your total character level, your death is permanent (although you can still be brought back by spells such as raise dead).